package com.xiangwei.service;

import java.util.Map;

import com.xiangwei.entity.ScanRecord;

public interface IScanrecordService {
	int yesterScanrecordCount(Map<String,Object> map);
	
	int insertScanrecord(Map<String,Object> map);
	
	ScanRecord selectByOpenid(String productId,String qrcodeId);
	
	Integer findScanCountByQrcode(String productId,String qrcodeId);
	
	ScanRecord findRecordByScantime(String productId, String qrcodeId);
	
	Integer updateRecord(Map<String,Object> map);
	
	int getScanrecordCount(Map<String,Object> map);
}
